package com.example.demo.services;

import com.example.demo.domain.Dynamic;

import java.util.List;
import java.util.Map;


public interface DynamicServer {
    public void save(Dynamic dynamic);
    public List<Map<String,String>> queryAllNews();
    public List<Map<String,String>> getDynamicInfo(Long id);


}
